]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popup-menu: Tweak submenu style
authorJakub Steiner <jimmac@gmail.com>
Mon, 4 Apr 2011 15:38:52 +0000 (17:38 +0200)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 4 Apr 2011 19:53:12 +0000 (15:53 -0400)
Tone down the background color and use an inset shadow to give the
subsection some depth.

Expander menu item is always highlighted when open.

https://bugzilla.gnome.org/show_bug.cgi?id=646001

data/theme/gnome-shell.css

index e058a2afcd63e7138194dc672bb6a22add9fca79..d540340a77862b4fb85396fa90e93a12a11e4598 100644 (file)
@@ -102,8 +102,15 @@ StTooltip StLabel {
     min-width: 200px;
 }
 
+.popup-submenu-menu-item:open {
+    background-color: #4c4c4c;
+}
+
 .popup-sub-menu {
-    background-color: #606060;
+    background-gradient-start: rgba(80,80,80,0.3);
+    background-gradient-end: rgba(80,80,80,0.7);
+    background-gradient-direction: vertical;
+    box-shadow: inset 0px 2px 4px rgba(0,0,0,0.9);
 }
 
 /* The remaining popup-menu sizing is all done in ems, so that if you